package com.imooc.service;

import com.imooc.dataobject.ProductCategory;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 类目
 */
@Service
public interface CategoryService {

        ProductCategory findOne(Integer categoryId);
        List<ProductCategory> findAll();
        ProductCategory save(ProductCategory productCategory);
        List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);
}
